const mongoose = require('../config/db')

const customSchema = new mongoose.Schema({
    // 客户姓名
    name:{
        type:String,
    },
    phone:{ // 客户电话
        type:String,
    },
    address:{ // 地址
        type:String 
    }
},{timestamps: {createdAt: 'createTime', updatedAt: 'updateTime'}})

const Custom = mongoose.model('Custom',customSchema)

module.exports = Custom
